package xyz.yuanjilu.test.aop;

import java.lang.reflect.Method;

import org.springframework.aop.AfterReturningAdvice;

public class GreetingAfterReturningAdvice implements AfterReturningAdvice{

	@Override
	public void afterReturning(Object returnValue, Method method, Object[] args, Object target) throws Throwable {
		String clientName=(String)args[0];
		System.out.println("再见："+clientName);
	}

	
}
